﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="AzureDS" targetNamespace="http://tempuri.org/AzureDS.xsd" xmlns:mstns="http://tempuri.org/AzureDS.xsd" xmlns="http://tempuri.org/AzureDS.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="AzureDBConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Public" Name="AzureDBConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.MyDataClassLib.Properties.Settings.GlobalReference.Default.AzureDBConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CustomerDataTableAdapter" GeneratorDataComponentClassName="CustomerDataTableAdapter" Name="CustomerData" UserDataComponentName="CustomerDataTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AzureDBConnectionString (Settings)" DbObjectName="AzureDB.dbo.CustomerData" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[CustomerData] ([CustomerID], [CustomerName], [CustomerPhone], [CustomerEmail], [CustomerStreet], [CustomerCity], [CustomerZip], [CustomerState], [CustomerCountry], [CustomerAccountCode], [CustomerPassword], [CustomerAccountType], [CustomerText1], [CustomerText2]) VALUES (@CustomerID, @CustomerName, @CustomerPhone, @CustomerEmail, @CustomerStreet, @CustomerCity, @CustomerZip, @CustomerState, @CustomerCountry, @CustomerAccountCode, @CustomerPassword, @CustomerAccountType, @CustomerText1, @CustomerText2)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CustomerName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CustomerName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustomerPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustomerPhone" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustomerEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustomerEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustomerStreet" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustomerStreet" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustomerCity" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustomerCity" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustomerZip" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustomerZip" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustomerState" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustomerState" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustomerCountry" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustomerCountry" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerAccountCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerAccountCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustomerPassword" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustomerPassword" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustomerAccountType" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustomerAccountType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustomerText1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustomerText1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustomerText2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustomerText2" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CustomerID, CustomerName, CustomerPhone, CustomerEmail, CustomerStreet, CustomerCity, CustomerZip, CustomerState, CustomerCountry, CustomerAccountCode, CustomerPassword, CustomerAccountType, CustomerText1, CustomerText2 FROM dbo.CustomerData</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CustomerID" DataSetColumn="CustomerID" />
              <Mapping SourceColumn="CustomerName" DataSetColumn="CustomerName" />
              <Mapping SourceColumn="CustomerPhone" DataSetColumn="CustomerPhone" />
              <Mapping SourceColumn="CustomerEmail" DataSetColumn="CustomerEmail" />
              <Mapping SourceColumn="CustomerStreet" DataSetColumn="CustomerStreet" />
              <Mapping SourceColumn="CustomerCity" DataSetColumn="CustomerCity" />
              <Mapping SourceColumn="CustomerZip" DataSetColumn="CustomerZip" />
              <Mapping SourceColumn="CustomerState" DataSetColumn="CustomerState" />
              <Mapping SourceColumn="CustomerCountry" DataSetColumn="CustomerCountry" />
              <Mapping SourceColumn="CustomerAccountCode" DataSetColumn="CustomerAccountCode" />
              <Mapping SourceColumn="CustomerPassword" DataSetColumn="CustomerPassword" />
              <Mapping SourceColumn="CustomerAccountType" DataSetColumn="CustomerAccountType" />
              <Mapping SourceColumn="CustomerText1" DataSetColumn="CustomerText1" />
              <Mapping SourceColumn="CustomerText2" DataSetColumn="CustomerText2" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="AzureDBConnectionString (Settings)" DbObjectName="AzureDB.dbo.CustomerData" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByEmail" GetMethodModifier="Public" GetMethodName="GetDataByEmail" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByEmail" UserSourceName="GetDataByEmail">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        CustomerID, CustomerName, CustomerPhone, CustomerEmail, CustomerStreet, CustomerCity, CustomerZip, CustomerState, CustomerCountry, 
                         CustomerAccountCode, CustomerPassword, CustomerAccountType, CustomerText1, CustomerText2
FROM            CustomerData
WHERE        (CustomerEmail = @customerEmail)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="customerEmail" ColumnName="CustomerEmail" DataSourceName="AzureDB.dbo.CustomerData" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@customerEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="CustomerEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="AzureDBConnectionString (Settings)" DbObjectName="AzureDB.dbo.CustomerData" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByName" GetMethodModifier="Public" GetMethodName="GetDataByName" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByName" UserSourceName="GetDataByName">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        CustomerID, CustomerName, CustomerPhone, CustomerEmail, CustomerStreet, CustomerCity, CustomerZip, CustomerState, CustomerCountry, 
                         CustomerAccountCode, CustomerPassword, CustomerAccountType, CustomerText1, CustomerText2
FROM            CustomerData
WHERE        (CustomerName = @customerName)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="customerName" ColumnName="CustomerName" DataSourceName="AzureDB.dbo.CustomerData" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@customerName" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="CustomerName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="AzureDBConnectionString (Settings)" DbObjectName="AzureDB.dbo.CustomerData" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByPhone" GetMethodModifier="Public" GetMethodName="GetDataByPhone" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByPhone" UserSourceName="GetDataByPhone">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        CustomerID, CustomerName, CustomerPhone, CustomerEmail, CustomerStreet, CustomerCity, CustomerZip, CustomerState, CustomerCountry, 
                         CustomerAccountCode, CustomerPassword, CustomerAccountType, CustomerText1, CustomerText2
FROM            CustomerData
WHERE        (CustomerPhone = @customerPhone)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="customerPhone" ColumnName="CustomerPhone" DataSourceName="AzureDB.dbo.CustomerData" DataTypeServer="varchar(15)" DbType="AnsiString" Direction="Input" ParameterName="@customerPhone" Precision="0" ProviderType="VarChar" Scale="0" Size="15" SourceColumn="CustomerPhone" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="AzureDBConnectionString (Settings)" DbObjectName="AzureDB.dbo.CustomerData" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByState" GetMethodModifier="Public" GetMethodName="GetDataByState" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByState" UserSourceName="GetDataByState">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        CustomerID, CustomerName, CustomerPhone, CustomerEmail, CustomerStreet, CustomerCity, CustomerZip, CustomerState, CustomerCountry, 
                         CustomerAccountCode, CustomerPassword, CustomerAccountType, CustomerText1, CustomerText2
FROM            CustomerData
WHERE        (CustomerState = @customerState)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="customerState" ColumnName="CustomerState" DataSourceName="AzureDB.dbo.CustomerData" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@customerState" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="CustomerState" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="AzureDS" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="AzureDS" msprop:Generator_UserDSName="AzureDS">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="CustomerData" msprop:Generator_TableClassName="CustomerDataDataTable" msprop:Generator_TableVarName="tableCustomerData" msprop:Generator_TablePropName="CustomerData" msprop:Generator_RowDeletingName="CustomerDataRowDeleting" msprop:Generator_UserTableName="CustomerData" msprop:Generator_RowChangingName="CustomerDataRowChanging" msprop:Generator_RowEvHandlerName="CustomerDataRowChangeEventHandler" msprop:Generator_RowDeletedName="CustomerDataRowDeleted" msprop:Generator_RowEvArgName="CustomerDataRowChangeEvent" msprop:Generator_RowChangedName="CustomerDataRowChanged" msprop:Generator_RowClassName="CustomerDataRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CustomerID" msprop:Generator_ColumnVarNameInTable="columnCustomerID" msprop:Generator_ColumnPropNameInRow="CustomerID" msprop:Generator_ColumnPropNameInTable="CustomerIDColumn" msprop:Generator_UserColumnName="CustomerID" type="xs:int" minOccurs="0" />
              <xs:element name="CustomerName" msprop:Generator_ColumnVarNameInTable="columnCustomerName" msprop:Generator_ColumnPropNameInRow="CustomerName" msprop:Generator_ColumnPropNameInTable="CustomerNameColumn" msprop:Generator_UserColumnName="CustomerName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerPhone" msprop:Generator_ColumnVarNameInTable="columnCustomerPhone" msprop:Generator_ColumnPropNameInRow="CustomerPhone" msprop:Generator_ColumnPropNameInTable="CustomerPhoneColumn" msprop:Generator_UserColumnName="CustomerPhone" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerEmail" msprop:Generator_ColumnVarNameInTable="columnCustomerEmail" msprop:Generator_ColumnPropNameInRow="CustomerEmail" msprop:Generator_ColumnPropNameInTable="CustomerEmailColumn" msprop:Generator_UserColumnName="CustomerEmail" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerStreet" msprop:Generator_ColumnVarNameInTable="columnCustomerStreet" msprop:Generator_ColumnPropNameInRow="CustomerStreet" msprop:Generator_ColumnPropNameInTable="CustomerStreetColumn" msprop:Generator_UserColumnName="CustomerStreet" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerCity" msprop:Generator_ColumnVarNameInTable="columnCustomerCity" msprop:Generator_ColumnPropNameInRow="CustomerCity" msprop:Generator_ColumnPropNameInTable="CustomerCityColumn" msprop:Generator_UserColumnName="CustomerCity" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerZip" msprop:Generator_ColumnVarNameInTable="columnCustomerZip" msprop:Generator_ColumnPropNameInRow="CustomerZip" msprop:Generator_ColumnPropNameInTable="CustomerZipColumn" msprop:Generator_UserColumnName="CustomerZip" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerState" msprop:Generator_ColumnVarNameInTable="columnCustomerState" msprop:Generator_ColumnPropNameInRow="CustomerState" msprop:Generator_ColumnPropNameInTable="CustomerStateColumn" msprop:Generator_UserColumnName="CustomerState" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerCountry" msprop:Generator_ColumnVarNameInTable="columnCustomerCountry" msprop:Generator_ColumnPropNameInRow="CustomerCountry" msprop:Generator_ColumnPropNameInTable="CustomerCountryColumn" msprop:Generator_UserColumnName="CustomerCountry" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerAccountCode" msprop:Generator_ColumnVarNameInTable="columnCustomerAccountCode" msprop:Generator_ColumnPropNameInRow="CustomerAccountCode" msprop:Generator_ColumnPropNameInTable="CustomerAccountCodeColumn" msprop:Generator_UserColumnName="CustomerAccountCode" type="xs:int" minOccurs="0" />
              <xs:element name="CustomerPassword" msprop:Generator_ColumnVarNameInTable="columnCustomerPassword" msprop:Generator_ColumnPropNameInRow="CustomerPassword" msprop:Generator_ColumnPropNameInTable="CustomerPasswordColumn" msprop:Generator_UserColumnName="CustomerPassword" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerAccountType" msprop:Generator_ColumnVarNameInTable="columnCustomerAccountType" msprop:Generator_ColumnPropNameInRow="CustomerAccountType" msprop:Generator_ColumnPropNameInTable="CustomerAccountTypeColumn" msprop:Generator_UserColumnName="CustomerAccountType" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerText1" msprop:Generator_ColumnVarNameInTable="columnCustomerText1" msprop:Generator_ColumnPropNameInRow="CustomerText1" msprop:Generator_ColumnPropNameInTable="CustomerText1Column" msprop:Generator_UserColumnName="CustomerText1" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerText2" msprop:Generator_ColumnVarNameInTable="columnCustomerText2" msprop:Generator_ColumnPropNameInRow="CustomerText2" msprop:Generator_ColumnPropNameInTable="CustomerText2Column" msprop:Generator_UserColumnName="CustomerText2" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>